Checks if given value is identical to the given token.
string $value:
int|string $token:
bool
public function isA($value, $token) { return $this->getType($value) === $token; }