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(boto3.__version__) < LooseVersion(required_boto3_version):
        return False
    else:
        return True
dataset/ETHPy150Open saltstack/salt/tests/unit/states/boto_apigateway_test.py/_has_required_boto/original