def _has_required_boto():
    '''
    Returns True/False boolean depending on if Boto is installed and correct
    version.
    '''
    if not HAS_BOTO:
        return False
    elif LooseVersion(required_boto_version) < LooseVersion(boto.__version__):
        return False
    else:
        return True
dataset/ETHPy150Open saltstack/salt/tests/unit/modules/boto_secgroup_test.py/_has_required_boto/swapped operands of `<`