
import sys


if sys.version_info[0] == 2:
    def is_string(item):
        return isinstance(item, (str, unicode))
else:
    from robot.utils import is_string


def is_truthy(item):
    if is_string(item):
        return item.upper() not in ('FALSE', 'NO', '', 'NONE')
    return bool(item)


def is_falsy(item):
    return not is_truthy(item)


def is_noney(item):
    return item is None or is_string(item) and item.upper() == 'NONE'

from robot.utils import is_string


def is_truthy(item):
    if is_string(item):
        return item.upper() not in ('FALSE', 'NO', '', 'NONE')
    return bool(item)


def is_falsy(item):
    return not is_truthy(item)


def is_noney(item):
    return item is None or is_string(item) and item.upper() == 'NONE'

Remove is_string because it exist in RF 2.9
Remove is_string because it exist in RF 2.9

- 
- import sys
- 
- 
- if sys.version_info[0] == 2:
-     def is_string(item):
-         return isinstance(item, (str, unicode))
- else:
-     from robot.utils import is_string
+ from robot.utils import is_string
  
  
  def is_truthy(item):
      if is_string(item):
          return item.upper() not in ('FALSE', 'NO', '', 'NONE')
      return bool(item)
  
  
  def is_falsy(item):
      return not is_truthy(item)
  
  
  def is_noney(item):
      return item is None or is_string(item) and item.upper() == 'NONE'
  
Remove is_string because it exist in RF 2.9
## Code Before:

import sys


if sys.version_info[0] == 2:
    def is_string(item):
        return isinstance(item, (str, unicode))
else:
    from robot.utils import is_string


def is_truthy(item):
    if is_string(item):
        return item.upper() not in ('FALSE', 'NO', '', 'NONE')
    return bool(item)


def is_falsy(item):
    return not is_truthy(item)


def is_noney(item):
    return item is None or is_string(item) and item.upper() == 'NONE'

## Instruction:
Remove is_string because it exist in RF 2.9
## Code After:
from robot.utils import is_string


def is_truthy(item):
    if is_string(item):
        return item.upper() not in ('FALSE', 'NO', '', 'NONE')
    return bool(item)


def is_falsy(item):
    return not is_truthy(item)


def is_noney(item):
    return item is None or is_string(item) and item.upper() == 'NONE'
