Added a check that provided class is a subclass of `Puppet::Pops::Functions::Function`