(field_name)
return field_name.startswith(prefix) and field_name.endswith(suffix)
Returns True for name pointer field names such as `name_bodyadr`.
Returns True for name pointer field names such as `name_bodyadr`.
Returns True for name pointer field names such as name_bodyadr .
def _is_name_pointer(field_name):
  """Returns True for name pointer field names such as `name_bodyadr`."""
  # Denotes name pointer fields in mjModel.
  prefix, suffix = 'name_', 'adr'
  return field_name.startswith(prefix) and field_name.endswith(suffix)
def _is_name_pointer ( field_name ) : # Denotes name pointer fields in mjModel. prefix , suffix = 'name_' , 'adr' return field_name . startswith ( prefix ) and field_name . endswith ( suffix )