public boolean isAllowed( Tuple tuple ) throws ConditionException
{
try
{
PyObject result = __builtin__.eval( getCode( ),
setUpDictionary( tuple, declarationIterator( ) ),
getGlobals( ) );
Object answer = result.__tojava__( Object.class );
if ( !( answer instanceof Number ) )
{
throw new NonBooleanExprException( getText( ) );
}