code: def _bad_mu(mu: Float64Expression, maf: float) -> BooleanExpression:
      """Check if computed value for estimated individual-specific allele
      frequency (mu) is not valid for estimating relatedness.
  
      Parameters
      ----------
      mu : :class:`.Float64Expression`
          Estimated individual-specific allele frequency.
      maf : :obj:`float`
          Minimum individual-specific minor allele frequency.
  
      Returns
      -------
      :class:`.BooleanExpression`
          ``True`` if `mu` is not valid for relatedness estimation, else ``False``.
      """
      return (
          (mu <= maf) | (mu >= (1.0 - maf)) | (mu <= 0.0) | (mu >= 1.0)
      )
  
imports: from typing import Optional
  import hail
  import hail.expr.aggregators
  from hail import ir
  from hail.backend.spark_backend import SparkBackend
  from hail.expr import ArrayNumericExpression, BooleanExpression, CallExpression, Float64Expression, analyze, expr_array, expr_call, expr_float64, matrix_table_source
  from hail.expr.types import tarray
  from hail.linalg import BlockMatrix
  from hail.table import Table
  from hail.typecheck import enumeration, nullable, numeric, typecheck
  from hail.utils import new_temp_file
  from hail.utils.java import Env
  from ..pca import _hwe_normalized_blanczos, hwe_normalized_pca
label_desc: Use image node_id 2 for calling a global function with example usage: _bad_mu(mu, maf) and returns: unknown