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