if (myDay.hasSomeSpareTime() && myDay.tookCareOfBusiness() && me.hasEnergyLeft()) { me.codeForFun(); }