system/Validation/Validation.php
public function check($value, string $rule, array $errors = []): bool
	{
		$this->reset();
		$this->setRule('check', null, $rule, $errors);

		return $this->run([
			'check' => $value,
		]);
	}
public function check($value, string $rule, array $errors = []): bool
	{
		$this->reset();
		$this->setRule('check', null, $rule, $errors);

		return $this->run([
			'check' => $value,
		]);
	}
Check; runs the validation process, returning true or false
determining whether validation was successful or not.

@param mixed    $value  Value to validation.
@param string   $rule   Rule.
@param string[] $errors Errors.

@return boolean True if valid, else false.