return 1 if $INC{"${proto}.pm"};
# can't just ->can('can') because a sub-package Foo::Bar::Baz
# creates a 'Baz::' key in Foo::Bar's symbol table
- return 1 if grep !/::$/, keys %{_getstash($_[0])||{}};
+ my $stash = _getstash($_[0])||{};
+ return 1 if grep +(!ref($_) and *$_{CODE}), values %$stash;
require_module($_[0]);
return 1;
}