test for ->is_role on Moose roles
return true from is_role for Moose roles