if the internal type is bool the function returns true, in otherwis returns false.
Gets bool value.
getValue Method