/* By integer node we mean an object node having one of the following opcode: */
BOOLEAN EFIAPI IsIntegerNode(IN AML_OBJECT_NODE *Node)
/* By integer node we mean an object node having one of the following opcode: */
BOOLEAN EFIAPI IsIntegerNode(IN AML_OBJECT_NODE *Node)
{
  UINT8  OpCode;
  if (!IS_AML_OBJECT_NODE (Node)  ||
      (Node->AmlByteEncoding == NULL))
  {
    return FALSE;
  }
  OpCode = Node->AmlByteEncoding->OpCode;
  if ((OpCode != AML_BYTE_PREFIX)   &&
      (OpCode != AML_WORD_PREFIX)   &&
      (OpCode != AML_DWORD_PREFIX)  &&
      (OpCode != AML_QWORD_PREFIX))
  {
    return FALSE;
  }
  return TRUE;
}