def check_inequality(setup_version, pipfile_op, pipfile_version):
    """
    Checks for version compatibility when at least one specifies
    an explicitly disallowed version

    Args:
        setup_version (packaging.version.Version):
            The version specified in setup.py
        pipfile_op (str):
            The comparison operation specified in the Pipfile
        pipfile_version (packaging.version.Version):
            The version specified in the Pipfile
    Returns:
        bool: Whether or not the check passed
    """
    inclusive_ops = ['==', '>=', '=>', '<=']
    return not (pipfile_op in inclusive_ops and setup_version ==
        pipfile_version)
