def license_is_oa(license):
    """Return True if license is compatible with Open Access"""
    for oal in OA_LICENSES:
        if re.search(oal, license):
            return True
    return False
def license_is_oa(license):
    """Return True if license is compatible with Open Access"""
    for oal in OA_LICENSES:
        if re.search(oal, license):
            return True
    return False
def license_is_oa ( license ) : for oal in OA_LICENSES : if re . search ( oal , license ) : return True return False
Return True if license is compatible with Open Access
Return True if license is compatible with Open Access