def is_requirement(line):
    """
    Return True if the requirement line is a package requirement;
    that is, it is not blank, a comment, or editable.
    """
    line = line.strip()
    return not (line == '' or line.startswith('-r') or line.startswith('#') or
        line.startswith('-e') or line.startswith('git+'))
