Method
return whether the method is a factory of the given record
func isFactoryOf(_ record: GIR.Record?) -> Bool