question: public boolean canInvoke ( MDepreciationWorkfile assetwk , MAssetAcct assetAcct , int A_Current_Period , BigDecimal Accum_Dep ) { if ( assetwk == null ) { log . warning ( "@NotFound@ @A_Depreciation_Workfile_ID@" ) ; return false ; } int offset = 0 ; int lifePeriods = assetwk . getUseLifeMonths ( assetwk . isFiscal ( ) ) ; boolean ok = ( offset <= A_Current_Period ) ; if ( CLogMgt . isLevelFinest ( ) ) log . finest ( "A_Current_Period=" + A_Current_Period + ", lifePeriods=" + lifePeriods + " (offset=" + offset + ") ==> OK=" + ok ) ; return ok ; }
target:  Check if the method can be invoked to give parameters