static boolean includeChildForAccessibility(View child) {
        // If the child is not important for accessibility we make
        // sure this hides the entire subtree rooted at it as the
        // IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDATS is not
        // supported on older platforms but we want to hide the entire
        // content and not opened drawers if a drawer is opened.
        return ViewCompat.getImportantForAccessibility(child)
                != ViewCompat.IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS
                && ViewCompat.getImportantForAccessibility(child)
                != ViewCompat.IMPORTANT_FOR_ACCESSIBILITY_NO;
    }
Check if a given drawer view is currently visible on-screen. The drawer
may be only peeking onto the screen, fully extended, or anywhere in between.
If there is no drawer with the given gravity this method will return false.

@param drawerGravity Gravity of the drawer to check
@return true if the given drawer is visible on-screen
app/src/main/java/com/sunnyweather/android/ui/customerUIs/HomeDrawerLayout.java