return false if no extension