Checks if the component is opened. Retruns true if the component has been opened and false otherwise.