getIsModalOpened method

bool getIsModalOpened()

Check is modal background visible

Implementation

bool getIsModalOpened() {
  return getIsMenuModalOpened() || getIsSubMenuModalOpened();
}