It is now truly returns whether or not server command is available. If it says false, this means executing serverCommand "kick" will also not work, where as before it was saying true, while serverCommand "kick" was also not working.
However as it happens, none of the server commands can be executed for real and servercommandavailable always returns false correctly.
Perhaps some server commands should be made available to admins only, this will solve the admin detection as well as make it possible to use those commands in scripts by admins.