isRessource method