Refactor `is_ready_to_shutdown` method
Refactor `is_ready_to_shutdown` method

giserh/grab,lorien/grab,liorvh/grab,kevinlondon/grab,maurobaraldi/grab,alihalabyah/grab,SpaceAppsXploration/grab,liorvh/grab,istinspring/grab,alihalabyah/grab,DDShadoww/grab,istinspring/grab,codevlabs/grab,kevinlondon/grab,huiyi1990/grab,lorien/grab,DDShadoww/grab,shaunstanislaus/grab,raybuhr/grab,pombredanne/grab-1,shaunstanislaus/grab,giserh/grab,huiyi1990/grab,raybuhr/grab,SpaceAppsXploration/grab,maurobaraldi/grab,codevlabs/grab,pombredanne/grab-1