public boolean isDrawerOpen(@EdgeGravity int drawerGravity) {
        final View drawerView = findDrawerWithGravity(drawerGravity);
        if (drawerView != null) {
            return isDrawerOpen(drawerView);
        }
        return false;
    }
Check if the given drawer view is currently in an open state.
To be considered "open" the drawer must have settled into its fully
visible state. 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 view is in an open state
app/src/main/java/com/sunnyweather/android/ui/customerUIs/HomeDrawerLayout.java