def IsLabBlocked(lab_name):
    'Check if the lab is blocked.\n\n  Args:\n    lab_name: lab name\n  Returns:\n    true if the lab is blocked, otherwise false.\n  '
    device_blocklists = datastore_entities.DeviceBlocklist.query().filter((datastore_entities.DeviceBlocklist.lab_name == lab_name)).fetch(1)
    return bool(device_blocklists)
Check if the lab is blocked.

Args:
  lab_name: lab name
Returns:
  true if the lab is blocked, otherwise false.
def IsLabBlocked(lab_name):
    'Check if the lab is blocked.\n\n  Args:\n    lab_name: lab name\n  Returns:\n    true if the lab is blocked, otherwise false.\n  '
    device_blocklists = datastore_entities.DeviceBlocklist.query().filter((datastore_entities.DeviceBlocklist.lab_name == lab_name)).fetch(1)
    return bool(device_blocklists)