check if defined interfaces of class exist