Since we're doing the same check on `@method` twice, I think we can write a method for it.