code: def is_angle_within_cutoff(
      vector_i: np.ndarray, vector_j: np.ndarray, angle_cutoff: float
  ) -> bool:
      """A utility function to compute whether two vectors are within a cutoff from 180 degrees apart.
  
      Parameters
      ----------
      vector_i: np.ndarray
          A numpy array of shape (3,)`, where `3` is (x,y,z).
      vector_j: np.ndarray
          A numpy array of shape `(3,)`, where `3` is (x,y,z).
      cutoff: float
          The deviation from 180 (in degrees)
  
      Returns
      -------
      bool
          Whether two vectors are within a cutoff from 180 degrees apart
      """
      angle = angle_between(vector_i, vector_j) * 180.0 / np.pi
      return angle > (180 - angle_cutoff) and angle < (
          180.0 + angle_cutoff
      )
  
file_path: deepchem/deepchem/utils/geometry_utils.py
imports: import numpy
  from scipy.spatial.distance import cdist
  from copy import deepcopy
label_desc: Use image node_id 6 for calling a global function with example usage: is_angle_within_cutoff(vector_i, vector_j, angle_cutoff) and returns: unknown