def METHOD_NAME(github_constrain, version):
    """
    Return True or False depending on whether the given version satisfies the github constraint
    For example:
    >>> assert github_constraints_satisfied(">= 7.0.0, <= 7.6.57", "7.1.1") == True
    >>> assert github_constraints_satisfied(">= 10.4.0, <= 10.4.1", "10.6.0") == False
    """
    gh_constraints = github_constrain.strip().replace(" ", "")
    constraints = gh_constraints.split(",")
    for constraint in constraints:
        gh_comparator, gh_version = parse_constraint(constraint)
        if not gh_version:
            continue
        if not compare(GenericVersion(version), gh_comparator, GenericVersion(gh_version)):
            return False
    return True