app\models\Invoice::isPaid PHP Method