Documentation, Implementation of isTable

Implemented isTable, tested to be working much faster. Documented.