The following Lua/FFI functions show a different behavior based on the object's current state.
For example if calling IsDestructible() or IsShip() on a ship which is under construction these functions would return false. This behavior was never actually intended since the operational state can be checked by other means (f.e. FFI/Lua: IsComponentOperational() / Lua: IsComponentConstruction()).
Hence, we'd change the behavior of the following functions to only determine the object based on the object's class (rather than a combination of its class and operational state):
Sidenote: This also resolves incorrect errors one would get when calling one of these functions with an object of the correct class while the object would not be in an operational state.