bool contains(String controlName)

Check whether there is a control with the given name in the group.

Source

bool contains(String controlName) =>
    controls.containsKey(controlName) && _included(controlName);