Any bucket created through cloudformation will have `"LocationConstraint": null`, implying us-east-1, although in AWS CloudFormation the bucket's region will always match the template's region.
try:
        float(s)  
        return True
    except (TypeError, ValueError):
        return False
def is_mac_os():
    try:
        out = to_str(subprocess.check_output('uname -a', shell=True))
        return 'Darwin' in out
    except subprocess.CalledProcessError:
        return False
def is_alpine():
    try:
        out = to_str(subprocess.check_output('cat /etc/issue', shell=True))
        return 'Alpine' in out
    except subprocess.CalledProcessError:
        return False
def is_linux():