def is_vcs(pipfile_entry):
    from .vendor import requirements
    'Determine if dictionary entry from Pipfile is for a vcs dependency.'
    if hasattr(pipfile_entry, 'keys'):
        return any((key for key in pipfile_entry.keys() if (key in VCS_LIST)))
    elif isinstance(pipfile_entry, six.string_types):
        return bool(requirements.requirement.VCS_REGEX.match(clean_git_uri(pipfile_entry)))
    return False
def is_vcs(pipfile_entry):
    from .vendor import requirements
    'Determine if dictionary entry from Pipfile is for a vcs dependency.'
    if hasattr(pipfile_entry, 'keys'):
        return any((key for key in pipfile_entry.keys() if (key in VCS_LIST)))
    elif isinstance(pipfile_entry, six.string_types):
        return bool(requirements.requirement.VCS_REGEX.match(clean_git_uri(pipfile_entry)))
    return False