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