def is_valid_username(name, username, **kwargs):
    if bool(username):
        return True
    logging.debug(
        '%s username is empty', name
    )
Return bw usages for instance(s) in a given audit period.
dataset/ETHPy150Open openstack/compass-core/compass/db/validator.py/is_valid_username--crossover with--dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/db/api.py/bw_usage_get_by_uuids