DOES method

Provides a DOES method as documented in UNIVERSAL.pm.