code: def _impose_f_order(X):
      """Helper Function"""
      # important to access flags instead of calling np.isfortran,
      # this catches corner cases.
      if X.flags.c_contiguous:
          return check_array(X.T, copy=False, order="F"), True
      else:
          return check_array(X, copy=False, order="F"), False
  
imports: from __future__ import division
  from functools import partial
  import warnings
  import numpy
  from scipy import linalg
  from scipy.sparse import issparse, csr_matrix
  from .None import check_random_state
  from .fixes import np_version
  from ._logistic_sigmoid import _log_logistic_sigmoid
  from ..externals.six.moves import xrange
  from .sparsefuncs_fast import csr_row_norms
  from .validation import check_array
  from ..exceptions import NonBLASDotWarning
label_desc: Use image node_id 5 for calling a global function with example usage: _impose_f_order(X) and returns: check_array,  True, check_array,  False