<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _cost_method(self, *args, **kwargs):
 """Calculate the cost function associated to the composed function Returns ------- float the cost of the associated composed function """

        return self.prox_op.cost(self.linear_op.op(args[0]), **kwargs)