If the command fails, it throws an exception, which will fatal error if it is not caught. Looking at the RemoveLabel command below, $return will never be false, it will only be true or an exception was thrown.