True if unit is unitString
unitString
bool isUnit(String unitString) => unit?.isUnit(unitString) ?? false;