ReflectionFunction::isClosure

public function isClosure(): bool;