-
-
Save ih8legal/906d82b052b80afeeadc4b7c50f7717e to your computer and use it in GitHub Desktop.
for reddit eyes only
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example.android.summonthefirelord; | |
import org.jsoup.nodes.Element; | |
/** | |
* Created by Timothy on 7/15/2016. | |
*/ | |
public class Checker { | |
public boolean exists(Element element, String soundID){ | |
if (element != null && !element.select(soundID).first().attr("src").isEmpty()) { | |
return true; | |
}else{ | |
return false; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment