def is_user_meta(server_type, key):
 if (len(key) <= (8 + len(server_type))):
  return False
 return key.lower().startswith(get_user_meta_prefix(server_type))

def is_user_meta ( server_type , key ) : if ( len ( key ) <= ( 8 + len ( server_type ) ) ) : return False return key . lower ( ) . startswith ( get_user_meta_prefix ( server_type ) )
tests if a header key starts with and is longer than the user metadata prefix for given server type .