checking whether resources instantiated in #new are valid types