Liefert true zurueck, wenn die Zahl als Bruch angegeben ist.

@return true oder false
974551
public boolean isBruch() {
        String s = toString();
        if (s.contains("/")) {
            try {
                Bruch.of(s);
                return true;
            } catch (IllegalArgumentException ex) {
                LOG.fine(s + " is not a fraction: " + ex);
                return false;
            }
        } else {
            return false;
        }
    }
47009
public function isSelfIssued()
    {
        if (!$this->issuer) {
            return false;
        }
        if (!$this->contact) {
            return false;
        }
        if (!$this->contact->user) {
            return false;
        }

        return $this->issuer->id == $this->contact->user->id;
    }
911259
public function sure()
    {
        if ($this->hasOption('start')) {
            $this->addOption('doNotSelfQlose');
        }
        if (empty($this->args[0])) {
            $this->args[0] = array();
        }
        switch ($this->called) {
        case 'jquery':
            $this->called = 'script';
            $this->args[0] = array_merge(
                array(
                    'type' => 'text/javascript',
                    'src' => 'https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js'
                ),
                $this->args[0]
            );

            return false;
        case 'jqueryui':
            $this->called = 'script';
            $this->args[0] = array_merge(
                array(
                    'type' => 'text/javascript',
                    'src' => 'https://ajax.googleapis.com/ajax/libs/jqueryui/1/jquery-ui.min.js'
                ),
                $this->args[0]
            );

            return false;
        default:
            $this->called = 'script';
            break;
        }

        if (empty($this->args[0])) {
            return false;
        }

        return is_array($this->args[0])
         || !(substr($this->args[0], 0, 4) == 'http'
         || substr($this->args[0], 0, 3) == '../'
         || substr($this->args[0], 0, 3) == '\./'
         || substr($this->args[0], 0, 2) == './'
         || substr($this->args[0], 0, 1) == '/'
        );
    }
447053
public boolean isActive() {
		final long now = System.currentTimeMillis();
		final long start = values.getStart();
		final long end = start + values.getLeft();
		// TODO : Ensure predicate consistency.
		return now >= start && now <= end;
	}
1146692
public boolean isSingleMember() {
		final Address localAddress = getLocalAddress();
		if (localAddress != null) {
			final List<Address> clusterMembers = getClusterMembers();
			return clusterMembers.size() == 1;
		}
		else {
			return true;
		}
	}
345793
public boolean check() {
        // check formalities of IdemixIssuerPublicKey
        if (AttributeNames == null || Hsk == null || HRand == null || HAttrs == null
                || BarG1 == null || BarG1.is_infinity() || BarG2 == null
                || HAttrs.length < AttributeNames.length) {
            return false;
        }

        for (int i = 0; i < AttributeNames.length; i++) {
            if (HAttrs[i] == null) {
                return false;
            }
        }

        // check proofs
        ECP2 t1 = IdemixUtils.genG2.mul(ProofS);
        ECP t2 = BarG1.mul(ProofS);

        t1.add(W.mul(BIG.modneg(ProofC, IdemixUtils.GROUP_ORDER)));
        t2.add(BarG2.mul(BIG.modneg(ProofC, IdemixUtils.GROUP_ORDER)));

        // Generating proofData that will contain 3 elements in G1 (of size 2*FIELD_BYTES+1)and 3 elements in G2 (of size 4 * FIELD_BYTES)
        byte[] proofData = new byte[0];
        proofData = IdemixUtils.append(proofData, IdemixUtils.ecpToBytes(t1));
        proofData = IdemixUtils.append(proofData, IdemixUtils.ecpToBytes(t2));
        proofData = IdemixUtils.append(proofData, IdemixUtils.ecpToBytes(IdemixUtils.genG2));
        proofData = IdemixUtils.append(proofData, IdemixUtils.ecpToBytes(BarG1));
        proofData = IdemixUtils.append(proofData, IdemixUtils.ecpToBytes(W));
        proofData = IdemixUtils.append(proofData, IdemixUtils.ecpToBytes(BarG2));

        // Hash proofData to hproofdata and compare with proofC
        return Arrays.equals(IdemixUtils.bigToBytes(IdemixUtils.hashModOrder(proofData)), IdemixUtils.bigToBytes(ProofC));
    }
209369
public boolean somethingSelected() {
        boolean isSelected = false;
        if (input()) {
            WebElement webElement = element.getWebElement();
            if ("input".equalsIgnoreCase(webElement.getTagName())) {
                isSelected = webElement.isSelected();
            } else if (SELECT.equalsIgnoreCase(webElement.getTagName())) {
                Select dropdown = new Select(webElement);
                isSelected = !dropdown.getAllSelectedOptions().isEmpty();
            }
        }
        return isSelected;
    }
798273
public boolean isAux()
  {
    if (! _isWindows)
      return false;

    File file = getFile();

    String path = getFullPath().toLowerCase(Locale.ENGLISH);

    int len = path.length();
    int p = path.indexOf("/aux");
    int ch;
    if (p >= 0 && (len <= p + 4 || path.charAt(p + 4) == '.'))
      return true;

    p = path.indexOf("/con");
    if (p >= 0 && (len <= p + 4 || path.charAt(p + 4) == '.'))
      return true;

    p = path.indexOf("/lpt");
    if (p >= 0
        && (len <= p + 5 || path.charAt(p + 5) == '.')
        && '0' <= (ch = path.charAt(p + 4)) && ch <= '9') {
      return true;
    }

    p = path.indexOf("/nul");
    if (p >= 0 && (len <= p + 4 || path.charAt(p + 4) == '.'))
      return true;

    return false;
  }
1189625
@Override
	public boolean hasNextCase() {
		for (ConstraintWrap wrap : summands) {
			if (wrap.constraint.hasNextCase()) {
				return true;
			}
		}
		return false;
	}
666428
public boolean validationAsBoolean()
   {
      if (this.getMessageadapter() == null || this.getMessageadapter().getMessagelisteners() == null
            || this.getMessageadapter().getMessagelisteners().isEmpty())
         return false;
      MessageListener mlmd = this.getMessageadapter().getMessagelisteners().get(0);
      if (mlmd.getMessagelistenerType() == null || mlmd.getActivationspec() == null
            || mlmd.getActivationspec().getActivationspecClass() == null)
         return false;
      return true;
   }
406891
public boolean isBusy() {
        lock.readLock().lock();
        try {
            return workUnit != null || executable != null;
        } finally {
            lock.readLock().unlock();
        }
    }
1306137
public boolean isFlat() {
    boolean flat = true;
    for (int ci = 0; ci < this.parts.size(); ci++) {
      flat &= this.parts.get(ci).isPosTag();
    }
    return flat;
  }
1194082
public boolean isMatch() {
        if (shuntsuList.size() > 0) {
            return false;
        }
        for (Toitsu toitsu : toitsuList) {
            int num = toitsu.getTile().getNumber();
            if (1 < num && num < 9) {
                return false;
            }
        }

        for (Kotsu kotsu : kotsuList) {
            int num = kotsu.getTile().getNumber();
            if (1 < num && num < 9) {
                return false;
            }
        }
        return true;
    }
1367666
public boolean has() {
        return attributeHolder.getAttribute(getMessagesKey(), UserMessages.class).filter(messages -> {
            return !messages.isEmpty();
        }).isPresent();
    }
552623
public boolean isAllSelected()
    {
        boolean bAllSelected = true;
        for (int iFieldSeq = DBConstants.MAIN_FIELD; iFieldSeq <= this.getFieldCount() + DBConstants.MAIN_FIELD - 1; iFieldSeq++)
        {
            if(this.getField(iFieldSeq).isSelected() == false)
                bAllSelected = false;
        }
        return bAllSelected;
    }
1073652
public boolean isAtEnd() {
    final AtomicBoolean atEnd = new AtomicBoolean(true);
    foreachPartition(ps -> {
      if (!ps.isAtEnd()) {
        atEnd.set(false);
      }
    });
    return atEnd.get();
  }
34148
public function asBool()
    {
        if ($this->value->isNull()) {
            return null;
        }

        return $this->value->isOneOf([1, '1', 'true', true, 'yes'], true);
    }