public boolean isLastPOPrice(){
  String cm=getCostingMethod();
  return cm != null && cm.equals(COSTINGMETHOD_LastPOPrice) && COSTELEMENTTYPE_Material.equals(getCostElementType());
}

public boolean isLastPOPrice ( ) { String cm = getCostingMethod ( ) ; return cm != null && cm . equals ( COSTINGMETHOD_LastPOPrice ) && COSTELEMENTTYPE_Material . equals ( getCostElementType ( ) ) ; }
is last po costing method
