Can we do subdomain operations?

def is_subdomains_enabled(blockstack_opts):
    """
    Can we do subdomain operations?
    """
    if not is_atlas_enabled(blockstack_opts):
        log.debug("Subdomains are disabled")
        return False

    if 'subdomaindb_path' not in blockstack_opts:
        log.debug("Subdomains are disabled: no 'subdomaindb_path' path set")
        return False

    return True