Check for null: `functionGroup = checkNotNull(name, "name is null");`