def find_room(name, api_url=None, api_key=None, api_version=None):
 rooms = list_rooms(api_url=api_url, api_key=api_key, api_version=api_version)
 if rooms:
  for x in range(0, len(rooms)):
   if (rooms[x]['name'] == name):
    return rooms[x]
 return False

def find_room ( name , api_url = None , api_key = None , api_version = None ) : rooms = list_rooms ( api_url = api_url , api_key = api_key , api_version = api_version ) if rooms : for x in range ( 0 , len ( rooms ) ) : if ( rooms [ x ] [ 'name' ] == name ) : return rooms [ x ] return False
find a room by name and return it .