utils.py 222 Bytes
Newer Older
Daniel Brown's avatar
Daniel Brown committed
1
2
3
4
5
6
7
8
9
10
11
12
# -*- coding: utf-8 -*-
"""
Created on Sat Feb 02 12:17:50 2013

@author: Daniel
"""
from pykat.components import *

def isSpace(obj):
    if obj == None:
        return False
    else:
Daniel Brown's avatar
Daniel Brown committed
13
        return isinstance(obj,space)