Add a method to check for component presence