I'd simply check if the method name ends with `=` - if it does just return.