src/users.php
public static function isUser(string $username): bool {
		$userdbname = setup::getValidation("username");
		if (R::findOne('user', ' ' . $userdbname . ' = ? ', [$username])) {
			return true;
		}

		return false;
	}
public static function isUser(string $username): bool {
		$userdbname = setup::getValidation("username");
		if (R::findOne('user', ' ' . $userdbname . ' = ? ', [$username])) {
			return true;
		}

		return false;
	}
public static function isUser ( string $ username ) : bool { $ userdbname = setup :: getValidation ( "username" ) ; if ( R :: findOne ( 'user' , ' ' . $ userdbname . ' = ? ' , [ $ username ] ) ) { return true ; } return false ; }
checks if a user exists

@param string $username Username

@return bool
checks if a user exists