has_field method

bool has_field(
  1. String fieldName
)

Implementation

bool has_field(String fieldName) => get_field(fieldName) != null;