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(boto.__version__) < LooseVersion(required_boto_version):
        return False
    else:
        return True
dataset/ETHPy150Open saltstack/salt/tests/unit/utils/boto_test.py/_has_required_boto/original