checking for existence of subtype and returning false when not there