*     ************************************************************************

      logical function gxndis(xstat)

*     ************************************************************************

*     Purpose :
*     ---------

*     This function checks if the status XSTAT corresponds to the
*     status of a node that belongs to the subgraph used during
*     the minimization procedure.

*     Parameters :
*     ------------

*     xstat   ( int )

*       input  : the status of the considered node.
*       output : unmodified.

*     gxndis  ( log )

*       input  : meaningless.
*       output : .true.  iff the status XSTAT corresponds to the
*                        status of a node that belongs to the
*                        subgraph used during the minimization
*                        procedure.
*                .false. otherwise.

*     Routines used :
*     ---------------

*     None.

*     Programming :
*     -------------

*     D. Tuyttens

*     ========================================================================

*     Routine parameter

      integer  xstat

*     Internal variable

      integer  aux

      aux    = xstat / 32
      gxndis = mod(aux,2).eq.1

      return
      end