Input::exists() method added