(2) A foster parent, unless State law, regulations, or contractual obligations with a State or local entity prohibit a foster parent from acting as a parent;