public static function isValidId($id) { return (bool) preg_match('#\\A[a-f\\d]{16}\\z#', (string) $id); }