Here you can find the source of atob(String s)
public static boolean atob(String s)
//package com.java2s; //License from project: Open Source License public class Main { public static boolean atob(String s) { return (s != null && (s.equals("1") || s.equalsIgnoreCase("true") || s.equalsIgnoreCase("yes"))); }/*from w w w.j a v a 2 s . c o m*/ }