IS_OBJECT and IS_RESOURCE is obviously exclusive