private function hasField($fieldName) { $frm = "\$context['form_{$this->form}']"; return $frm . "->existsField('" . $fieldName . "')"; }