class_docstr: Represents the fractional part of x
  
  For real numbers it is defined [1]_ as
  
  .. math::
      x - \left\lfloor{x}\right\rfloor
  
  Examples
  ========
  
  >>> from sympy import Symbol, frac, Rational, floor, I
  >>> frac(Rational(4, 3))
  1/3
  >>> frac(-Rational(4, 3))
  2/3
  
  returns zero for integer arguments
  
  >>> n = Symbol('n', integer=True)
  >>> frac(n)
  0
  
  rewrite as floor
  
  >>> x = Symbol('x')
  >>> frac(x).rewrite(floor)
  x - floor(x)
  
  for complex arguments
  
  >>> r = Symbol('r', real=True)
  >>> t = Symbol('t', real=True)
  >>> frac(t + I*r)
  I*frac(r) + frac(t)
  
  See Also
  ========
  
  sympy.functions.elementary.integers.floor
  sympy.functions.elementary.integers.ceiling
  
  References
  ===========
  
  .. [1] https://en.wikipedia.org/wiki/Fractional_part
  .. [2] https://mathworld.wolfram.com/FractionalPart.html
class_docstr_tok: ["Represents","the","fractional","part","of","x","For","real","numbers","it","is","defined","[","1","]","_","as","..","math",":",":","x","-","\\left\\lfloor","{","x","}","\\right\\rfloor","Examples","========",">",">",">","from","sympy","import","Symbol",",","frac",",","Rational",",","floor",",","I",">",">",">","frac","(","Rational","(","4",",","3",")",")","1\/3",">",">",">","frac","(","-Rational","(","4",",","3",")",")","2\/3","returns","zero","for","integer","arguments",">",">",">","n","=","Symbol","(","'n","'",",","integer=True",")",">",">",">","frac","(","n",")","0","rewrite","as","floor",">",">",">","x","=","Symbol","(","'","x","'",")",">",">",">","frac","(","x",")",".rewrite","(","floor",")","x","-","floor","(","x",")","for","complex","arguments",">",">",">","r","=","Symbol","(","'","r","'",",","real=True",")",">",">",">","t","=","Symbol","(","'t","'",",","real=True",")",">",">",">","frac","(","t","+","I","*","r",")","I","*","frac","(","r",")","+","frac","(","t",")","See","Also","========","sympy.functions.elementary.integers.floor","sympy.functions.elementary.integers.ceiling","References","===========","..","[","1","]","https",":","\/\/en.wikipedia.org\/wiki\/Fractional_part","..","[","2","]","https",":","\/\/mathworld.wolfram.com\/FractionalPart.html"]
code: def _eval_is_integer(self):
      return self.args[0].is_integer
  
imports: from typing import Tuple
  from sympy.core.basic import Basic
  from sympy.core.expr import Expr
  from sympy.core import Add, S
  from sympy.core.evalf import get_integer_part, PrecisionExhausted
  from sympy.core.function import Function
  from sympy.core.logic import fuzzy_or
  from sympy.core.numbers import Integer, int_valued
  from sympy.core.relational import Gt, Lt, Ge, Le, Relational, is_eq
  from sympy.core.sympify import _sympify
  from sympy.functions.elementary.complexes import im, re
  from sympy.multipledispatch import dispatch
label_desc: Use image node_id 7 for calling the frac obj's underlying member method code with example usage: obj._eval_is_integer() and returns: self