For the purposes of sections 248 and 249, a law of a State imposes a duty on the Funding Body or an officer of the Commonwealth if:
(a) the law confers a power or function on the Funding Body or officer; and
(b) the circumstances in which the power or function is conferred give rise to an obligation on the Funding Body or officer to exercise the power or to perform the function.