Added hasProperty(String) and renamed hasResources(String) to hasResource(String)