checking, whether an Object to store has the Entity annotation