use `@importFrom methods is`
add `methods` to pkg depends list spread modules
use `@importFrom methods is` instead