docstr: `ivy.Container` static method variant of `ivy.can_cast`. This method
  simply wraps the function, and so the docstring for `ivy.can_cast` also
  applies to this method with minimal changes.
  
  Parameters
  ----------
  from_
      input container from which to cast.
  to
      desired data type.
  key_chains
      The key-chains to apply or not apply the method to. Default is ``None``.
  to_apply
      If True, the method will be applied to key_chains, otherwise key_chains
      will be skipped. Default is ``True``.
  prune_unapplied
      Whether to prune key_chains for which the function was not applied.
      Default is ``False``.
  map_sequences
      Whether to also map method to sequences (lists, tuples).
      Default is ``False``.
  
  Returns
  -------
  ret
      ``True`` if the cast can occur according to :ref:`type-promotion` rules;
      otherwise, ``False``.
  
  Examples
  --------
  >>> x = ivy.Container(a=ivy.array([0., 1., 2.]),
  ...                   b=ivy.array([3, 4, 5]))
  >>> print(x.a.dtype, x.b.dtype)
  float32 int32
  
  >>> print(ivy.Container.static_can_cast(x, 'int64'))
  {
      a: false,
      b: true
  }
docstr_tok: ["`","ivy.Container","`","static","method","variant","of","`","ivy.can_cast","`",".","This","method","simply","wraps","the","function",",","and","so","the","docstring","for","`","ivy.can_cast","`","also","applies","to","this","method","with","minimal","changes",".","Parameters","--","--","--","--","--","from_","input","container","from","which","to","cast",".","to","desired","data","type",".","key_chains","The","key-chains","to","apply","or","not","apply","the","method","to",".","Default","is","``","None","``",".","to_apply","If","True",",","the","method","will","be","applied","to","key_chains",",","otherwise","key_chains","will","be","skipped",".","Default","is","``","True","``",".","prune_unapplied","Whether","to","prune","key_chains","for","which","the","function","was","not","applied",".","Default","is","``","False","``",".","map_sequences","Whether","to","also","map","method","to","sequences","(","lists",",","tuples",")",".","Default","is","``","False","``",".","Returns","--","--","--","-","ret","``","True","``","if","the","cast","can","occur","according","to",":","ref",":","`","type-promotion","`","rules",";","otherwise",",","``","False","``",".","Examples","--","--","--","--",">",">",">","x","=","ivy.Container","(","a=ivy.array","(","[","0.",",","1.",",","2",".","]",")",",","...","b=ivy.array","(","[","3",",","4",",","5","]",")",")",">",">",">","print","(","x.a.dtype",",","x.b.dtype",")","float32","int32",">",">",">","print","(","ivy.Container.static_can_cast","(","x",",","'int64","'",")",")","{","a",":","false",",","b",":","true","}"]
code: def _static_can_cast(
      from_: ivy.Container,
      to: Union[ivy.Dtype, ivy.Container],
      key_chains: Optional[
          Union[List[str], Dict[str, str], ivy.Container]
      ] = None,
      to_apply: Union[bool, ivy.Container] = True,
      prune_unapplied: Union[bool, ivy.Container] = False,
      map_sequences: Union[bool, ivy.Container] = False,
  ) -> ivy.Container:
      """`ivy.Container` static method variant of `ivy.can_cast`. This method
      simply wraps the function, and so the docstring for `ivy.can_cast` also
      applies to this method with minimal changes.
  
      Parameters
      ----------
      from_
          input container from which to cast.
      to
          desired data type.
      key_chains
          The key-chains to apply or not apply the method to. Default is ``None``.
      to_apply
          If True, the method will be applied to key_chains, otherwise key_chains
          will be skipped. Default is ``True``.
      prune_unapplied
          Whether to prune key_chains for which the function was not applied.
          Default is ``False``.
      map_sequences
          Whether to also map method to sequences (lists, tuples).
          Default is ``False``.
  
      Returns
      -------
      ret
          ``True`` if the cast can occur according to :ref:`type-promotion` rules;
          otherwise, ``False``.
  
      Examples
      --------
      >>> x = ivy.Container(a=ivy.array([0., 1., 2.]),
      ...                   b=ivy.array([3, 4, 5]))
      >>> print(x.a.dtype, x.b.dtype)
      float32 int32
  
      >>> print(ivy.Container.static_can_cast(x, 'int64'))
      {
          a: false,
          b: true
      }
      """
      return ContainerBase.cont_multi_map_in_function(
          "can_cast",
          from_,
          to,
          key_chains=key_chains,
          to_apply=to_apply,
          prune_unapplied=prune_unapplied,
          map_sequences=map_sequences,
      )
  
imports: from typing import Optional, Union, List, Dict, Tuple, Callable
  import ivy
  from ivy.data_classes.container.base import ContainerBase
label_desc: Use image node_id 7 for calling the _ContainerWithDataTypes obj's underlying member method code with example usage: obj._static_can_cast(from_, to, key_chains, to_apply, prune_unapplied, map_sequences) and returns: ContainerBase